package com.itheima.utils;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignLoggerConfig {


    //第一fign的日志级别,定义feign的日志级别
    @Bean
    public Logger.Level feignConfig(){
        return Logger.Level.FULL;  //全部的日志(full)
    }
}
